Repository navigation
Add JSON Schema for bot definitions - #72
Conversation
Reject malformed IPv4 and IPv6 CIDR ranges, including invalid prefix lengths, while supporting compressed IPv6 and embedded IPv4 addresses. Cross-check the schema patterns against Node's IP parser and run schema validation in CI. Builds on Viktor Szépe's JSON Schema contribution in #72; the original commit and authorship are preserved. Co-authored-by: Codex <codex@openai.com>
Replace on-demand npx execution with an isolated tools/schema package and a committed dependency lockfile. Install with npm ci --ignore-scripts and invoke Ajv directly, removing ajv-cli and its extra dependencies. Use releases older than seven days and cover the validator exit status for malformed bot definitions and CIDR ranges. Co-authored-by: Codex <codex@openai.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
Ignoring alerts on:
|
|
@SocketSecurity ignore npm/ajv@8.20.0 |
|
Thanks for contributing @szepeviktor |
|
Glad to contribute. |
@davidmytton I hope a JSON schema will help you maintain this list of bots.